using SimpleJson;

namespace FrameWork.Scripts.Module
{
	public struct UserInfo
	{
		public int userId
		{
			get;
			set;
		}

		public int gender
		{
			get;
			set;
		}

		public int headIndex
		{
			get;
			set;
		}

		public string nickName
		{
			get;
			set;
		}

		public string language
		{
			get;
			set;
		}

		public string picUrl
		{
			get;
			set;
		}

		public float platCoin
		{
			get;
			set;
		}

		public string openId
		{
			get;
			set;
		}

		public long timeExpire
		{
			get;
			set;
		}

		public string deviceToken
		{
			get;
			set;
		}

		public JsonObject loginInfo
		{
			get;
			set;
		}

		public UserInfo(int id = 0)
		{
			userId = id;
			gender = 0;
			headIndex = 0;
			nickName = string.Empty;
			language = string.Empty;
			picUrl = string.Empty;
			platCoin = 0f;
			openId = string.Empty;
			timeExpire = 0L;
			deviceToken = string.Empty;
			loginInfo = null;
		}
	}
}
